﻿using System;
using System.Collections.Generic;

namespace DevelopTool.Model.ChatModels
{
    /// <summary>
    /// 聊天群组
    /// </summary>
    public class ChatGroup : BaseModel
    {
        /// <summary>
        /// 群组id GUID
        /// </summary>
        public string GroupId { get; set; }

        /// <summary>
        /// 群组名称
        /// </summary>
        public string GroupName { get; set; }

        /// <summary>
        /// 创建群组的用户id（群主）
        /// </summary>
        public ChatUser CreateUser { get; set; }

        /// <summary>
        /// 群组内的用户集合
        /// </summary>
        public List<ChatUser> GroupUsers { get; set; }

        /// <summary>
        /// 是否提示群组消息
        /// </summary>
        public bool IsTip { get; set; } = true;
    }
}
